<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login</title>

    <script src="/js/axios.min.js"></script>
    <script src="/js/query.js"></script>
    <script src="/djs/login.js"></script>
    <link rel="stylesheet" href="/css/login.css">
</head>
<body>

    <div class="box">
        <h2>宿舍管理系统</h2>
        <div class="input-box">
            <label>账号</label>
            <input type="text" id="nameTxt">
        </div>
        <div class="input-box">
            <label>密码</label>
            <input type="password" id="pwdTxt">
        </div>
        <div class="input-box">
            <span id="errorSpan" style="color: red"></span>
        </div>

        <div class="btn-box">
            <div>
                <button onclick="login()">登录</button>
            </div>
        </div>
    </div>

</body>
</html>